package com.xyyl.patient.entity.user;

import java.io.Serializable;
import java.math.BigDecimal;
/**
 * @projectName:xyyl-patient-interface
 * @ClassName: User
 * @Description: 患者信息
 * @author chens
 * @date 2017年8月18日
 *
 */
public class User implements Serializable {
	    
	private static final long serialVersionUID = 1L;
	
	private Integer id;
	
    //地址
    private String addressdetail;

    private Integer allpoints;
    
    //地区
    private String areaname;
    
    //图像地址
    private String avatar;

    //生日
    private String birthday;
    
    //城市名称
    private String cityname;

    //客户端类型【0:为安卓，1：为苹果】
    private Integer clienttype;

    //身高
    private String height;

    private Integer isperfectinfo;

    private Integer level;
    
    //昵称
    private String nickname;

    //积分
    private Integer points;
    
    //省份名称
    private String provincename;

    private String pushtoken;

    //真实姓名
    private String realname;

    private String sessionid;

    //性别【1：男； 2：女】
    private Integer sex;

    private String usercode;

    //即时通讯账号
    private String usernameim;

    //用户状态
    private Integer userstatus;

    //体重
    private String weight;

    //平台userid
    private Integer sysuserid;

    //账户余额
    private BigDecimal accountbalance;
    
    //openid 微信账号唯一id
    private String openid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAddressdetail() {
        return addressdetail;
    }

    public void setAddressdetail(String addressdetail) {
        this.addressdetail = addressdetail == null ? null : addressdetail.trim();
    }

    public Integer getAllpoints() {
        return allpoints;
    }

    public void setAllpoints(Integer allpoints) {
        this.allpoints = allpoints;
    }

    public String getAreaname() {
        return areaname;
    }

    public void setAreaname(String areaname) {
        this.areaname = areaname == null ? null : areaname.trim();
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday == null ? null : birthday.trim();
    }

    public String getCityname() {
        return cityname;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname == null ? null : cityname.trim();
    }

    public Integer getClienttype() {
        return clienttype;
    }

    public void setClienttype(Integer clienttype) {
        this.clienttype = clienttype;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height == null ? null : height.trim();
    }

    public Integer getIsperfectinfo() {
        return isperfectinfo;
    }

    public void setIsperfectinfo(Integer isperfectinfo) {
        this.isperfectinfo = isperfectinfo;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public String getProvincename() {
        return provincename;
    }

    public void setProvincename(String provincename) {
        this.provincename = provincename == null ? null : provincename.trim();
    }

    public String getPushtoken() {
        return pushtoken;
    }

    public void setPushtoken(String pushtoken) {
        this.pushtoken = pushtoken == null ? null : pushtoken.trim();
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    public String getSessionid() {
        return sessionid;
    }

    public void setSessionid(String sessionid) {
        this.sessionid = sessionid == null ? null : sessionid.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getUsercode() {
        return usercode;
    }

    public void setUsercode(String usercode) {
        this.usercode = usercode == null ? null : usercode.trim();
    }

    public String getUsernameim() {
        return usernameim;
    }

    public void setUsernameim(String usernameim) {
        this.usernameim = usernameim == null ? null : usernameim.trim();
    }

    public Integer getUserstatus() {
        return userstatus;
    }

    public void setUserstatus(Integer userstatus) {
        this.userstatus = userstatus;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight == null ? null : weight.trim();
    }

    public Integer getSysuserid() {
        return sysuserid;
    }

    public void setSysuserid(Integer sysuserid) {
        this.sysuserid = sysuserid;
    }

    public BigDecimal getAccountbalance() {
        return accountbalance;
    }

    public void setAccountbalance(BigDecimal accountbalance) {
        this.accountbalance = accountbalance;
    }

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}
    
    
}